package aop;

/**
 * 时间切点
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-2-8
 */
public class Time {

	private long begin;

	public void begin() {
		begin = System.nanoTime();
		System.out.println(begin);
	}

	public void end() {
		System.out.println("运行了" + (System.nanoTime() - begin) + " ^_^ ");
	}
}
